package com.feihao.zhou.demoJunitTest;

import org.junit.Test;

public class Student {
    private int age;
    private String name;

    public Student(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public Student() {
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String returnName(){
        System.out.println("返回了name");
        return this.name;
    }


    public int add(int a, int b){
        return a+b;
    }

    public int delete(int c, int d){
        return c-d;
    }
}
